﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleCompiler
{
    internal class StatementScope : Statement
    {
        public override Variable Execute(RuntimeVariableScope scope)
        {
            scope.PushScope(false);
            Variable variable = base.Execute(scope);
            scope.PopScope();
            return variable;
        }
    }
}
